package com.hivekion.system.service;

import com.hivekion.common.entity.PagedResultVo;
import com.hivekion.common.entity.SearchInputVo;
import com.hivekion.system.domain.SysUserBind;
import com.hivekion.system.domain.vo.SysUserBindCreateInputVo;
import com.hivekion.system.domain.vo.SysUserBindModelVo;
import com.hivekion.system.domain.vo.SysUserBindUpdateInputVo;

public interface ISysUserBindService {

      boolean remove(String roleId);

      boolean edit(SysUserBindUpdateInputVo inputVo);

      boolean add(SysUserBindCreateInputVo inputVo);

      SysUserBindModelVo getInfo(String roleId);

      PagedResultVo<SysUserBindModelVo> getList(SearchInputVo inputVo);

      boolean checkUserBindNameUnique(String roleId, String roleName);

      // 根据角色id查询用户绑定关系
      SysUserBind queryUserBind(String roleId);

      // 根据角色name查询用户绑定关系
      SysUserBind queryUserBindByName(String roleName);
}
